#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main() {
	int n; 
	int sum=0;
	while (cin >> n) { 
		sum+=n;
	}
	cout << sum << endl;
	return 0;
}